package com.financing.wap.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.InfoSubscribeDTO;
import com.financing.wap.dto.LogsDTO;

public interface IInfoSubscribeService {
	
	/**
	 * 
	 * @Title: queryInfoSubscribeList
	 * @Description: 查询个人订阅列表 
	 * @param infoSubscribeDTO
	 * @return List<InfoSubscribeDTO>  
	 * @throws
	 */
	public List<InfoSubscribeDTO> queryInfoSubscribeList(InfoSubscribeDTO infoSubscribeDTO)throws SQLException;
	
	/**
	 * 
	 * @Title: insertInfoSubscribe
	 * @Description: 添加订阅信息
	 * @param InfoSubscribeDTO
	 * @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int insertInfoSubscribe(InfoSubscribeDTO infoSubscribeDTO) throws SQLException;
	
	/**
	 * 查询订阅信息
	 * @param infoSubscribeDTO
	 * @return
	 * @throws SQLException
	 */
	public InfoSubscribeDTO queryInfoSubscribe(InfoSubscribeDTO infoSubscribeDTO)
			throws SQLException;
	
	/**
	 * 是否已经订阅信息
	 * @param infoSubscribeDTO
	 * @return
	 * @throws SQLException
	 */
	public boolean checkInfoSubscribe(InfoSubscribeDTO infoSubscribeDTO)
			throws SQLException;
	
	/**修改订阅信息
	 * @param infoSubscribeDTO
	 * @return
	 * @throws SQLException
	 */
	public int updateInfoSubscribe(InfoSubscribeDTO infoSubscribeDTO)
			throws SQLException;
	
}
